package org.example.commonapi.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelUser extends BaseRowModel {

    /**
     * 用户名
     */
    @ExcelProperty(value = {"用户名"}, index = 0)
    private String username;

    /**
     * 手机号
     */
    @ExcelProperty(value = {"手机号"}, index = 1)
    private String phone;

    /**
     * 学号
     */
    @ExcelProperty(value = {"学号"}, index = 2)
    private String no;

    /**
     * 住址
     */
    @ExcelProperty(value = {"住址"}, index = 3)
    private String address;

    /**
     * 身份证号
     */
    @ExcelProperty(value = {"身份证号"}, index = 4)
    private String idCard;
}
